/***************************************************
> Copyright (C) 2024 ==KINGYI== All rights reserved.
> File Name: 8.7afternoon3.c
> Author:
> Mail: 
> Created Time: Thu 08 Aug 2024 05:32:53 AM PDT
***************************************************/

#include "queue.h"


int main(int argc,const char* argv[])
{

    return 0;
}

STU *create_queue() //创建头节点
{
 STU *head = NULL;
 head = (STU *)malloc(sizeof(STU));
 memset(head,0,sizeof(STU));
 head->next = NULL;
}

void push(STU* head) //尾插
{
 STU *p =head;
 STU *q = NULL;
for(int i = 0;i< 3;i++)
{
 q = (STU*)malloc(sizeof(STU));
 memset(q,0,sizeof(STU));
 printf("please input id =\nname =\nage = \n")
	 scanf("%d%s%d",&q->id,q->name,&q->age);
  p->next = q;
  q->next = NULL;
  p=q;
}
 return head;
}



int front(STU *head) //输出头节点
{
 

}

void pop(STU *head) //删除头节点
{
 
}

int size(STU *head)  //查看链表
{
 
}

int isempty(STU *head)  //查看链表是否为空
{
 
}

